package com.zhj.edu.utils;

import com.zhj.edu.constance.DeviceConstance;

import java.util.UUID;

/**
 * 生成设备key的工具类
 */
public class DeviceKeyUtils {

    /**
     * 获取设备key
     * @return
     */
    public static String getDeviceKey(){
        String stuff = UUID.randomUUID().toString().replace("-", "").trim();
        return DeviceConstance.getDevicePrefix() + stuff;
    }

}
